<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
学生信息
{% for sh in show1 %}
    {{ sh.name }}
    {{ sh.sex }}
    {{ sh.dateofbirth }}
    {{ sh.contactway}}
    {{ sh.nowclass }}
    {{ sh.teacher }}
    <a href="{% url 'delete' sh.id %}">删除</a>
    <br>
{% endfor %}

</body>
</html>